package com.jiazhong.boot.commons.bean;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
public class Emp implements Serializable {
    private Integer empNo; // emp_no
    private String ename;
    private String job;
    private Integer deptNo;
    private Integer mgr;
    private String hireDate;
    private Double sal;
    private Double comm;
    private Integer state;
    // 描述多对一的关系
    private Dept dept;
    // 描述上司信息
    private Emp mgrEmp;

    // 级联检索需要的字段
    private String hireDate1;
    private String hireDate2;
    private List<String> jobs;
}
